Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p::after { content: " - Remember this"; background-color: yellow; color: red; font-weight: bold; } </style> </head> <body> <p>My name is Donald</p> <p>I live in Ducksburg</p> <p><b>Note:</b> For this selector to work in IE8, a DOCTYPE must be declared, and you must use the old, single-colon CSS2 syntax (:after instead of ::after).</p> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_sel_after_style by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:14:09 GMT --> </html>
Result:
Try it Yourself - © w3schools.com